package com.iting.xmldemo.impl;


import com.iting.xmldemo.ServiceUserDao;
import com.iting.xmldemo.UserDao;

/**
 * @author iting Nie
 * @version 1.1
 * @create 2021/11/10
 */
public class ServiceUserDaoImpl implements ServiceUserDao {
    private UserDao userDao;

    @Override
    public void add() {
        // System.out.println("调用了ServiceUserDao的add方法");
        userDao.add();
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }
}
